package com.second.app.designpattern.bridge.juejin;

/**
 * @Author GYZ
 * @Date 2023/11/8
 * <pre>
 *
 * </pre>
 */
public class AudiCar implements Car{

    private Color color;

    public AudiCar(Color color){
        this.color=color;
    }
    @Override
    public void declare() {
        System.out.println("我是一辆喷"+color.print()+"的奥迪车");
    }
}
